package org.jeecg.modules.parameter.api.vo.line;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @author P-202207340195
 */


@ApiModel(value = "sim_line对象", description = "参数-线路信息")
@Data
public class SimLinePreVo implements Serializable {

    @ApiModelProperty(value = "线路uuid，唯一标识")
    private String id;


    @ApiModelProperty(value = "线路ID-唯一标识")
    private String lineId;


    @ApiModelProperty(value = "线路颜色")
    private String color;


    @ApiModelProperty(value = "线路序号")
    private int sortNo;

    @Dict(dicCode = "data_origin")
    @ApiModelProperty(value = "数据中心标记(data_origin) 01 数据中心，02 用户增加")
    @TableField(value = "data_center_flag")
    private String dataCenterFlag;


    @ApiModelProperty(value = "线路名称")
    private String lineName;


    @Dict(dicCode = "operation_status")
    @ApiModelProperty(value = "状态（operation_status， 01运营， 02封闭 ，03限流）")
    private String operationStatus;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "运营开始时间")
    private String operationStartTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "运营结束时间")
    private String operationEndTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private String createdBy;

    @ApiModelProperty(value = "创建人ID")
    private String createdAt;


    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private String modifiedBy;

    @ApiModelProperty(value = "修改人ID")
    private String modifiedAt;

    @ApiModelProperty(value = "线路长度")
    private String lineMileage;


    @ApiModelProperty(value = "线路位置")
    private String linePosition;


    @ApiModelProperty(value = "车站数量")
    private String stationNum;

    @ApiModelProperty(value = "场段数量")
    private String parkNum;

    @ApiModelProperty(value = "存车线数量")
    private String ccNum;

    @ApiModelProperty(value = "折返线数量")
    private String zfNum;

    @ApiModelProperty(value = "供电区间数量")
    private String powerNum;


}
